package appapi.service.impl;

import appapi.service.SysConfigService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import appapi.entity.basic.SysConfigEntity;
import appapi.dao.SysConfigMapper;
/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/05/27 15:48
 */
@Service
public class SysConfigServiceImpl implements SysConfigService {

    @Resource
    private SysConfigMapper sysConfigMapper;


    public SysConfigEntity detail(Integer confId) {
        return sysConfigMapper.selectByPrimaryKey(confId);
    }


    public int updateByPrimaryKey(SysConfigEntity record) {
        return sysConfigMapper.updateByPrimaryKey(record);
    }

}
